<?php

/*
	Class: Commerce_Plugins_Checkout

	About: Author
		Tyler Vigeant

	About: License
		<http://communit.as/docs/license>
*/
class Commerce_Plugins_Checkout {

	/* Group: Constructors */

	/*
		Function: __construct
	*/
	function __construct() {
	}

	/* Group: Instance Methods */

	/*
		Function: addData
	*/
	function addData($params) {
		if( array_key_exists('request', $params)
		&& is_object($params['request'])
		&& method_exists($params['request'], 'has')
		&& $params['request']->has('for') ){
			$params['for'] = $params['request']->for;
		}
		
		return $params;
	}

}
